package cn.wolfcode.luowowo.comment.service;

import cn.wolfcode.luowowo.comment.domain.ScenicRepComment;
import cn.wolfcode.luowowo.comment.query.ScenicRepCommentQuery;
import org.springframework.data.domain.Page;

/**
 * 攻略商品评论服务
 */
public interface IScenicRepCommentService {

    /**
     * 添加
     */
    ScenicRepComment save(ScenicRepComment comment);

    /**
     * mongodb的分页
     * @param qo
     * @return
     */
    Page query(ScenicRepCommentQuery qo);

    Page queryByCommentId(String commentId);

}
